﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace blackhouse.BlackApart.Data {
    public interface IApartmentDataAccess {

        int SaveApartment(int id, string name, int groupId, int locationId, int numberOfPeople, float areaSize);

        ApartmentData GetApartment(int apartmentId);

        ApartmentData[] GetFreeApartments(DateTime startDate, DateTime endDate, int apartmentGroupId);

        ApartmentData[] GetApartmentsByGroup(int groupId);

        ApartmentPhotoData[] GetApartmentPhotos(int apartmentId);

        ApartmentPhotoData[] GetApartmentTypePhotos(int apartmentTypeId, string language);

    }
}
